package com.hotline.communication.service.impl;

import com.hotline.communication.mapper.HolidayMapper;
import com.hotline.communication.service.HolidayService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
@Slf4j
public class HolidayServiceImpl implements HolidayService {

    @Resource
    private HolidayMapper holidayMapper;

    @Override
    public Integer count(String orgId,String holidayDate) {

        log.info("根据机构ID查询节假日[]orgId:{}",orgId);

        return holidayMapper.count(orgId,holidayDate);
    }
}
